<%@page import="POJO.SanPham"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%
// 		HttpSession session = request.getSession();
	    String err = "1";
 	    if ((String) session.getAttribute("err") != null)
	    	err = (String) session.getAttribute("id");
	%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Đăng nhập</title>
	<link rel="stylesheet" href="http://localhost:8080/OnlineShop/css/style.css" type="text/css" media="all" />
</head>
<body>
<!-- Header -->
<div id="header"></div>
<!-- End Header -->

<!-- Container -->
<div id="container">
	<div class="shell">
		
		<!-- Small Nav --><!-- End Small Nav -->
		
		<!-- Message OK --><!-- End Message OK -->		
		
		<!-- Message Error --><!-- End Message Error -->
	  <div id="main"><!-- Content -->
			<div id="content">
				
				<!-- Box --><!-- End Box -->
				
				<!-- Box -->
			  <div class="box">
					<!-- Box Head -->
					<div class="box-head">
						<h2>Đăng nhập</h2>
					</div>
					<!-- End Box Head -->
					
					<form action="" method="post">
						
						<!-- Form -->
							<form method="post" action="DangNhap" >
								<div class="form">
								  <p>
								    <label>Tên đăng nhập</label> 
										<input type="text" class="field size1" name="txt_user"/>
								  </p>
								  <p>
								    <label>Mật khẩu</label> 
										<input type="password" class="field size1" name="txt_password" value=""/>
								  </p>
									<p>
										<input type="submit" class="button" value="Login" />
								  </p>
								  <p>
								  <%
 								      if (err.equals("0"))
								          out.print("Tên hoặc mật khẩu không đúng!!!");
								  %> 
								  </p>
							  </div>
							</form>
							<!-- End Form -->
						
						<!-- Form Buttons -->
						
						<!-- End Form Buttons -->
					</form>
			  </div>
				<!-- End Box -->

		  </div>
			<!-- End Content -->
			
			<!-- Sidebar --><!-- End Sidebar -->
			
		  <div class="cl">&nbsp;</div>			
	  </div>
		<!-- Main -->
  </div>
</div>
<!-- End Container -->

<!-- Footer -->
<!-- <div id="footer"> -->
<!-- 	<div class="shell"> -->
<!-- 		<span class="left">&copy; 2010 - CompanyName</span> -->
<!-- 		<span class="right"> -->
<!-- 			Design by <a href="http://chocotemplates.com" target="_blank" title="The Sweetest CSS Templates WorldWide">Chocotemplates.com</a> -->
<!-- 		</span> -->
<!-- 	</div> -->
<!-- </div> -->
<!-- End Footer -->
	
</body>
</html>